//
//  UIBarButtonItem+BackItem.m
//  ProjectB
//
//  Created by lanou on 16/5/7.
//  Copyright © 2016年 lanou. All rights reserved.
//

#import "UIBarButtonItem+BackItem.h"

@implementation UIBarButtonItem (BackItem)

+ (instancetype)createBackItem {
    UIBarButtonItem *backItem = [[UIBarButtonItem alloc] initWithImage:[UIImage new] style:UIBarButtonItemStyleDone target:self action:nil];
    return backItem;
}

+ (instancetype)createBackImageItem {
    UIBarButtonItem *backImageItem = [[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"back"] style:UIBarButtonItemStyleDone target:nil action:nil];
    return backImageItem;
}

@end
